package com.ljh.service.impl;

import com.ljh.service.UserService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

import java.util.Random;

/**
 * @Author grung
 * @Date 2020/10/8 9:39
 * @Version 1.0
 */


@Service   //使用dubboService
public class UserServiceImpl implements UserService {
    @Override
    public String getUser(String name) {


        return "User: "+name;
    }

    public String getUserA(String name) {


        return "User A: "+name;
    }

    public String getUserB(String name) {


        return "User B: "+name;
    }

    public String getUserC(String name) {

        return "User C: "+name;
    }
}
